package com.atguigu.gulimall.product.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@Data
@ConfigurationProperties(prefix = "spring.thread")
public class ThreadConfigProperties {
    private Integer corePoolSize;
    private Integer mixMumPoolSize;
    private Integer keepAliveTime;
}
